package model

type DictionaryTypeCreateRequest struct {
    Id          int64  `json:"id"`
    Code        string `json:"code"`
    Name        string `json:"name"`
    Status      int    `json:"status"`
    Description string `json:"description"`
    CreatedAt   int64  `json:"created_at"`
    UpdatedAt   int64  `json:"updated_at"`
}
type DictionaryTypeUpdateRequest struct {
    Id          int64   `json:"id"`
    Code        *string `json:"code"`
    Name        *string `json:"name"`
    Status      *int    `json:"status"`
    Description *string `json:"description"`
    CreatedAt   *int64  `json:"created_at"`
    UpdatedAt   *int64  `json:"updated_at"`
}
type DictionaryTypeListRequest struct {
    Id          int64   `json:"id"`
    Code        *string `json:"code"`
    Name        *string `json:"name"`
    Status      *int    `json:"status"`
    Description *string `json:"description"`
    CreatedAt   *int64  `json:"created_at"`
    UpdatedAt   *int64  `json:"updated_at"`
    Index       int     `json:"index"`
    Size        int     `json:"size"`
}
type DictionaryTypeListResponse struct {
    Total int                   `json:"total"`
    List  []*DictionaryTypeInfo `json:"list"`
}
type DictionaryTypeInfoRequest struct {
    Id int64 `json:"id"`
}
type DictionaryTypeInfo struct {
    Id          int64  `json:"id"`
    Code        string `json:"code"`
    Name        string `json:"name"`
    Status      int    `json:"status"`
    Description string `json:"description"`
    CreatedAt   int64  `json:"created_at"`
    UpdatedAt   int64  `json:"updated_at"`
}
type DictionaryTypeDeleteRequest struct {
    Id int64 `json:"id"`
}
